package com.ruoyi.project.applet.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 会员卡转让对象 t_transfer
 * 
 * @author ruoyi
 * @date 2025-02-21
 */
public class Transfer extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private String id;

    /** 会员卡持有人 */
    @Excel(name = "会员卡持有人")
    private Long userId;

    private String userName;

    private String avatar;
    /** 转让人 */
    @Excel(name = "转让人")
    private Long transferUserId;

    /** 卡数 */
    @Excel(name = "卡数")
    private Integer num;


    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setTransferUserId(Long transferUserId) 
    {
        this.transferUserId = transferUserId;
    }

    public Long getTransferUserId() 
    {
        return transferUserId;
    }

    public Integer getNum() {
        return num;
    }

    public void setNum(Integer num) {
        this.num = num;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("transferUserId", getTransferUserId())
            .append("num", getNum())
            .append("createTime", getCreateTime())
            .toString();
    }
}
